Skip to content

refactor: replace []byte(fmt.Sprintf) with fmt.Appendf#1989

Merged
chasefleming merged 1 commit into
onflow:masterfrom
ianlv:master
Jul 2, 2025
Merged

refactor: replace []byte(fmt.Sprintf) with fmt.Appendf#1989
chasefleming merged 1 commit into
onflow:masterfrom
ianlv:master

Conversation

@ianlv
Copy link
Copy Markdown
Contributor

@ianlv ianlv commented Jul 2, 2025

Closes #???

Description

Optimize code using a more modern writing style. Official support from Go, for more details visit https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize.


For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

Signed-off-by: ianlv <sunlvyun@outlook.com>
Copy link
Copy Markdown
Member

@chasefleming chasefleming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks for doing this!

@chasefleming chasefleming added the Improvement Technical work without new features, refactoring, improving tests label Jul 2, 2025
@chasefleming chasefleming merged commit a4056a0 into onflow:master Jul 2, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Technical work without new features, refactoring, improving tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants